/**
 * 
 */
package weibo4j.crawler;

/**
 * @author longrui
 *
 */
public class UserRelationQueueRecord extends QueueRecord {
	public long fromId;
	public long toId;
	
	public UserRelationQueueRecord(long fromId, long toId){
		super();
		this.fromId = fromId;
		this.toId = toId;
	}
	
	public static String getFieldString(){
		return "(from_id, to_id, enqueue_time)";
	}
	
	public static String getEmptyValueString(){
		return "(?, ?, ?)";
	}
	
	public String[] getRecord(){
		String[] res = new String[3];
		res[0] = Long.toString(fromId);
		res[1] = Long.toString(toId);
		res[2] = enqueueTime;
		return res;
	}

}
